package com.xd.core.business.mapper;

import com.github.pagehelper.Page;
import com.xd.core.business.dto.UsePrintQueryDto;
import com.xd.core.business.entity.UsePrint;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xd.core.business.vo.UsePrintPageVo;
import com.xd.core.business.vo.UsePrintVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用印表 Mapper 接口
 * </p>
 *
 * @author zch
 * @since 2025-06-23
 */
public interface UsePrintMapper extends BaseMapper<UsePrint> {

    Page<UsePrintPageVo> usePrintList(@Param("dto") UsePrintQueryDto dto,@Param("companyId") Integer companyId,@Param("userIds") List<Integer> userIds);

    UsePrintVo getUsePrint(Integer usePrintId);
}
